﻿using BookStoreApp.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Xamarin.Forms;

namespace BookStoreApp
{
	public partial class App : Application
	{
        public static BookStoreManager BookStoreManager { get; private set; }

        public App ()
		{
			InitializeComponent();
            
			MainPage = new BookStoreApp.MainPage();
            BookStoreManager = new BookStoreManager(new RestService());
        }

		protected override void OnStart ()
		{
			// Handle when your app starts
		}

		protected override void OnSleep ()
		{
			// Handle when your app sleeps
		}

		protected override void OnResume ()
		{
			// Handle when your app resumes
		}
	}
}
